package org.jeecg.modules.flowable.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangyong
 * @since 2022-09-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_act_ru_task_scope")
@ApiModel(value="TActRuTaskScopeEntity对象", description="")
public class TActRuTaskScopeEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "事项实例ID（FK）")
    @TableField("ACT_MATTER_INST_ID")
    private String actMatterInstId;

    @ApiModelProperty(value = "任务定义ID")
    @TableField("TASK_DEF_KEY_")
    private String taskDefKey;

    @ApiModelProperty(value = "定义类型（DIC，1角色，2处理人）")
    @TableField("TASK_SCOPE_TYPE")
    private Integer taskScopeType;

    @ApiModelProperty(value = "业务关联ID")
    @TableField("OPT_ID")
    private String optId;

    @ApiModelProperty(value = "相对标记")
    @TableField("IS_RELATIVE")
    private Integer isRelative;

    @ApiModelProperty(value = "相对业务ID")
    @TableField("RELATIVE_OPT_ID")
    private String relativeOptId;

    @ApiModelProperty(value = "公共-备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "公共-创建人")
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "公共-创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "公共-修改人")
    @TableField(value = "UPDATE_BY", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "公共-修改时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "公共-有效性状态")
    @TableField("DEL_FLAG")
    private Integer delFlag;

    @ApiModelProperty(value = "公共-租户ID")
    @TableField(value = "TENANT_ID", fill = FieldFill.INSERT)
    private String tenantId;

    @ApiModelProperty(value = "公共-事务ID")
    @TableField("TID")
    private String tid;

    @ApiModelProperty(value = "公共-预留1")
    @TableField("EXT_AA")
    private String extAa;

    @ApiModelProperty(value = "公共-预留2")
    @TableField("EXT_BB")
    private String extBb;


}
